package cn.ym.mall.entity;

import java.io.Serializable;

/**
 * @author 漆家乐
 * 市实体类
 */
public class City implements Serializable {
    private static final long serialVersionUID=654252435L;
    /**
     * 编号
     */
    private Integer id;
    /**
     * 市编号
     */
    private String ciid;
    /**
     * 市名
     */
    private String ciname;
    /**
     * 上级编号
     */
    private String father;

    public City() {
    }

    public City(Integer id, String ciid, String ciname, String father) {
        this.id = id;
        this.ciid = ciid;
        this.ciname = ciname;
        this.father = father;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCiid() {
        return ciid;
    }

    public void setCiid(String ciid) {
        this.ciid = ciid;
    }

    public String getCiname() {
        return ciname;
    }

    public void setCiname(String ciname) {
        this.ciname = ciname;
    }

    public String getFather() {
        return father;
    }

    public void setFather(String father) {
        this.father = father;
    }

    @Override
    public String toString() {
        return "City{" +
                "id='" + id + '\'' +
                ", ciid='" + ciid + '\'' +
                ", ciname='" + ciname + '\'' +
                ", father='" + father + '\'' +
                '}';
    }
}
